import { wxToast } from './methods.js'

import {
  wxLogin,
  wxGetUserInfo,
  wxCheckAuth 
} from './wx_api.js'

export default {
  data: {
    hasAuth:false,
    userInfo:wx.getStorageSync('userInfo'),
  },
  wxToast,
  wxLogin,
  wxGetUserInfo,
  wxCheckAuth
}